<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ page import="com.db.conn"%>
<%@ page import="java.sql.*"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<script src="<%=path %>/admin/js/jquery.js" type="text/javascript"></script>
<script src="<%=path %>/admin/js/formValidator.js" type="text/javascript"></script>  
<script src="<%=path %>/admin/js/formValidatorRegex.js" type="text/javascript"></script>
<link href="<%=path %>/admin/css/validator.css" rel="stylesheet" type="text/css" />

<script src="<%=path %>/My97DatePicker/WdatePicker.js" type="text/javascript"></script>

<jsp:include flush="true" page="${basePath}/admin/head.jsp"></jsp:include>
 <div class="panel panel-primary">
            <div class="panel-heading">
                <h3 class="panel-title">回复意见反馈</h3>
            </div>
            <div class="panel-body" style="min-height: 500px;">
           <table style="width:100%;"><tr><td align="center">

           		<form action="<%=path %>/board_Edit" method="post">

					  <table  style="width:98%;margin-left:10px;" align="center">
                    <tbody>
                        <% 			conn cn=new conn();
    
     			String id = request.getParameter("id");
				String sql = "select * from board where bid=" + id ;
				ResultSet rs = cn.query(sql);
				rs.next();
			%>
                        <tr>
                            <td height="25" width="20%" align="right">客户ID：</td>
                            <td height="25" width="*" align="left" style="text-align:left"><%=rs.getString("mid") %></td>
                        </tr>
                        <tr>
                            <td height="25" width="20%" align="right">反馈内容：</td>
                            <td height="25" width="*" align="left" style="text-align:left"><%=rs.getString("bques")==null?"":rs.getString("bques") %></td>
                        </tr>
                        <tr>
                            <td height="25" width="20%" align="right">反馈时间：</td>
                            <td height="25" width="*" align="left" style="text-align:left"><%=rs.getString("btime") %></td>
                        </tr>

<tr>
<td  style=" text-align:right; width:20%;"><font style='color:red'>*&nbsp;</font>管理员回复:</td>
<td class="tbright"><div style="display:inline;float:left;">
<textarea name="txt_bans" type="text" id="txt_bans" style="width: 300px; height:80px;  "   required ><%= rs.getString("bans")==null?"":rs.getString("bans") %></textarea></div>
 </td></tr>



    <tr>
        <td>&nbsp;</td>
        <td align="left">  
		<input name="id" type="hidden" id="id" value='<%= request.getParameter("id") %>'> 
        <input type="submit" name="btnAdd" value="保 存"  id="btnAdd"  class="btn btn-info" />
    <input name="btnReturn" type="button" value="返 回" class="btn btn-info"  onclick="location.href='<%=path %>/admin/board/board_Manage.jsp';"  />
    
               </td>
    </tr>
                    </tbody>
                </table>
				<%
				if (rs != null)
					rs.close();
				if (cn != null)
					cn.close();
			%>
    </form>


   </td></tr></table>
            

            </div>
        </div>







